package tp.badugi.client;

import tp.badugi.net.GameStatus;

public interface iClientFrontAdapter {
	
	//remember to generate error messages for caught exceptions

	public void writeConsoleMessage(String consoleMessage);
	
	public void writeErrorMessage(String errorMessage);

	public void writeConnectionMessage(String connectionMessage);
	
	public void writeValidationMessage(String validationMessage);

	public void updateGameData(GameStatus gameStatus, String serverIpAddress, int serverPortNumber);
	
	public void showConnectionView();
	
	public void showServerView(String serverIpAddress, int serverPortNumber, String[] serverList);
	
	public void showGameView(GameStatus gameStatus, String serverIpAdress, int serverPortNumber);
	
	public void showActionView(String[] possibleActions, int timeout, long currentBetDifference, long minimalRaise);
	
	public void showCardChangeView(String[] cards, int timeout);
	
	public void showRoundWinnerView(String[][] revealedPlayersCards, String[] winnersNames, 
			long[] chipsAddedFromPot, int[] winnersIndexes);
}
